Skip to content

Develop - #98

Open
rkostiv253 wants to merge 3 commits into
mate-academy:mainfrom
rkostiv253:develop
Open

Develop#98
rkostiv253 wants to merge 3 commits into
mate-academy:mainfrom
rkostiv253:develop

Conversation

@rkostiv253

Copy link
Copy Markdown

No description provided.

Looks up the user via getUserById and returns undefined when it
doesn't exist, mirroring how createUser and the rest of the store
already behave.
Validates name/email like POST does, then delegates to
store.updateUser and returns 404 with the same error shape as
GET /:id when the user doesn't exist.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant